package com.whut.util.concurrent.threadpool.exception;

/**
 * @author wangzonghe
 * @date 2025/8/18 13:49
 * @description 自定义线程池异常
 */
public class ThreadPoolException extends RuntimeException {

    public ThreadPoolException(String message, Throwable cause) {
        super(Thread.currentThread().getName() + " - " + message, cause);
    }

    public ThreadPoolException(String message) {
        super(Thread.currentThread().getName() + " - " + message);
    }
}
